<?php
require_once('config.php');

$map = ms_newMapObj("bezirke2.map");

$request = ms_newowsrequestobj();
/*foreach ($_REQUEST as $key => $value) {
    $request->setParameter($key, $value);
}*/
$request->loadparams();
ms_ioinstallstdouttobuffer();
$map->owsdispatch($request);
$contentType = ms_iostripstdoutbuffercontenttype();
header('Content-type: ' . $contentType);
ms_iogetStdoutBufferBytes();
ms_ioresethandlers();
?>
